package com.efast.dmom.mgmt.utils;

public class MesConstant {
	
	// 企业树
	public static String COMPANY_CODE_TREE = "_CODE_SORT_TREE";  
	
	//工单状态
	public static String WORK_ORDER_CREATED = "CREATED"; //创建
	public static String WORK_ORDER_RELEASED = "RELEASED"; //发布
	public static String WORK_ORDER_STARTED = "STARTED"; //开始
	public static String WORK_ORDER_CLOSED = "CLOSED"; //关闭
	public static String WORK_ORDER_PLANNED = "PLANNED"; //保留
	public static String WORK_ORDER_CANCELLED = "CANCELLED"; //订单取消
	public static String WORK_ORDER_FREEZE = "FREEZE";//订单冻结
	public static String WORK_ORDER_FINISHED ="FINISHED";//完成
	
	//工单item状态
	public static String WORK_ORDER_ITEM_CREATED = "CREATED";//创建
	public static String WORK_ORDER_ITEM_RELEASED = "RELEASED";//发布
	public static String WORK_ORDER_ITEM_CLOSED = "CLOSED";//关闭
	public static String WORK_ORDER_ITEM_FREEZE = "FREEZE";//冻结
	public static String WORK_ORDER_ITEM_CANCELLED ="CANCELLED";//取消
	public static String WORK_ORDER_ITEM_FINISHED = "FINISHED";//完成
	
	// lot物理状态
	public static String LOT_STATE_NORMAL = "NORMAL"; //正常
	public static String LOT_STATE_HOLD = "HOLD"; //冻结
	public static String LOT_STATE_RELEASE = "RELEASE"; //释放 ：操作类型，并非lot的物理状态
	public static String LOT_STATE_SCRAP = "SCRAP"; //报废
	public static String LOT_STATE_MERGED = "MERGED"; //合并
	
	//lot运行中状态
	public static String LOT_STATUS_CREATED = "CREATED";//创建
	public static String LOT_STATUS_WAITTING = "WAITTING";//等待
	public static String LOT_STATUS_STARTED = "STARTED";//开始
	public static String LOT_STATUS_COMPLETED = "COMPLETED";//完成
	public static String LOT_STATUS_FINISHED = "FINISHED";//结束
	public static String LOT_STATUS_CLOSED = "CLOSED";//关闭	
	//配送单位常量
	public static String DELIVERY_UNIT_NO = "CF" ;
	
	public final static String RECYCLED = "RECYCLED";
	public final static String REUSED = "REUSED";
	
	
	//Order status
	public final static String ORDER_STATUS_CREATED = "10";
	public final static String ORDER_STATUS_SCHEDULED = "15";
	public final static String ORDER_STATUS_AUDIT = "20";
	public final static String ORDER_STATUS_TOBROADCAST = "50";
	public final static String ORDER_STATUS_PUBLISHED= "60";
	public final static String ORDER_STATUS_FREEZED = "70";
	public final static String ORDER_STATUS_SCRAP = "90";
	public final static String ORDER_STATUS_REFUSED = "100";
	
	//shop
	public final static String MES_PLANT_SS = "SS";
	public final static String MES_PLANT_BS = "BS";
	public final static String MES_PLANT_PS = "PS";
	public final static String MES_PLANT_AS = "AS";
	
}
